import sys
import time

from tool.MyTool import collectData

sys.path.append('..')

if __name__ == '__main__':
    url_path = "http://www.longjianghk.com/quick/code.jsp?codeName=login&t=1567001427411%20style="
    times = 100
    delay_second = 1
    save_dir = "longjiang"

    for x in range(1, times):
        time.sleep(delay_second)
        collectData(save_dir, url_path)
